-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial TCK tests for build compatible extensions #312
Initial TCK tests for build compatible extensions #312
Conversation
Marked as draft, because I didn't run these tests with any implementation yet. They are, however, a direct port of tests I developed for my Quarkus prototype, so they should mostly be fine. I'll work on running these tests with an implementation next. |
a4e06d7
to
e51fffe
Compare
e51fffe
to
82af267
Compare
Amended the commit with a test for synthetic observers of parameterized types. The POM now points to the CDI API |
82af267
to
c61a532
Compare
Rebased. As discussed on the CDI call today, we still don't have a way to run this with an implementation, but work is ongoing to run this both with Weld and Quarkus. Once that happens, this PR will be marked as ready for review and assuming no problems are found, merged. More tests need to be added for sure, but those won't block this PR. |
c61a532
to
862e391
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have glued together several snapshots and I am able to test this with Weld.
Most of the tests are failing, so I am going to look into what's the cause and contribute the changes back here.
Meanwhile I dropped a few comments to things I noticed.
.../tck/tests/build/compatible/extensions/changeBeanQualifier/ChangeBeanQualifierExtension.java
Outdated
Show resolved
Hide resolved
...s/cdi/tck/tests/build/compatible/extensions/changeBeanQualifier/ChangeBeanQualifierTest.java
Show resolved
Hide resolved
...s/cdi/tck/tests/build/compatible/extensions/changeBeanQualifier/ChangeBeanQualifierTest.java
Outdated
Show resolved
Hide resolved
.../org/jboss/cdi/tck/tests/build/compatible/extensions/changeBeanQualifier/MyOtherService.java
Show resolved
Hide resolved
I have added a commit that fixes |
Added another commit that fixes all but |
Ok, added another commit that fixes the last test. With these changes I can get Weld's implementation to pass it. |
Moved from draft to standard PR. |
...rg/jboss/cdi/tck/tests/build/compatible/extensions/syntheticBean/SyntheticBeanExtension.java
Outdated
Show resolved
Hide resolved
...ain/java/org/jboss/cdi/tck/tests/build/compatible/extensions/customStereotype/MyService.java
Outdated
Show resolved
Hide resolved
Hi @manovotn, I've pushed a few more commits with some proposed changes, so that:
If you can let me know how I can test with Weld, I'd be happy to do that. |
@Ladicek I am seeing one failing test with Weld. The way to execute it with Weld is:
|
...ions/syntheticObserverOfParameterizedType/SyntheticObserverOfParameterizedTypeExtension.java
Outdated
Show resolved
Hide resolved
web/src/main/java/org/jboss/cdi/tck/shrinkwrap/ee/WebArchiveBuilder.java
Show resolved
Hide resolved
Added one commit to avoid the type discovery duplicate. |
I think this is ready to be merged now, because it passes on ArC and Weld. I'll just restructure the commits a little and squash a bunch of them. |
9177823
to
48015e8
Compare
Done. |
No description provided.